<%--
  Created by IntelliJ IDEA.
  User: zhoufei
  Date: 2025/5/15
  Time: 23:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <head>
        <meta charset="UTF-8" />
        <title>登录界面</title>
        <style>
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
                font-family: 'Microsoft YaHei', sans-serif;
            }

            body {
                background-color: #f0f2f5;
                min-height: 100vh;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            /* 登录容器 */
            .login-container {
                background: white;
                padding: 40px;
                border-radius: 8px;
                box-shadow: 0 4px 12px rgba(0,0,0,0.1);
                width: 100%;
                max-width: 400px;
                margin: 20px;
            }

            /* Logo区域 */
            .login-header {
                text-align: center;
                margin-bottom: 30px;
            }

            .logo {
                color: #001529;
                font-size: 28px;
                font-weight: bold;
                margin-bottom: 10px;
            }

            .logo-subtitle {
                color: #666;
                font-size: 14px;
            }

            /* 表单样式 */
            .form-group {
                margin-bottom: 24px;
            }

            .form-label {
                display: block;
                color: #666;
                margin-bottom: 8px;
                font-size: 14px;
            }

            .form-input {
                width: 100%;
                padding: 12px;
                border: 1px solid #ddd;
                border-radius: 4px;
                font-size: 14px;
                transition: border-color 0.3s;
            }

            .form-input:focus {
                border-color: #1890ff;
                outline: none;
            }

            /* 登录按钮 */
            .login-btn {
                width: 100%;
                padding: 12px;
                background-color: #1890ff;
                color: white;
                border: none;
                border-radius: 4px;
                font-size: 16px;
                cursor: pointer;
                transition: background-color 0.3s;
            }

            .login-btn:hover {
                background-color: #40a9ff;
            }

            /* 辅助功能 */
            .login-extra {
                margin-top: 20px;
                display: flex;
                justify-content: space-between;
                font-size: 13px;
            }

            .remember-me {
                display: flex;
                align-items: center;
                gap: 6px;
                color: #666;
            }

            .forgot-password {
                color: #1890ff;
                text-decoration: none;

            }

            .forgot-password:hover {
                text-decoration: underline;
            }

            /* 响应式设计 */
            @media (max-width: 480px) {
                .login-container {
                    padding: 30px 20px;
                }

                .logo {
                    font-size: 24px;
                }
            }
        </style>
    </head>
</head>
<body>
<div class="login-container">
    <div class="login-header">
        <div class="logo">XXX管理系统</div>
        <div class="logo-subtitle">Professional Management System</div>
    </div>

    <form>
        <div class="form-group">
            <label class="form-label">用户名</label>
            <input type="text" class="form-input" placeholder="请输入用户名">
        </div>

        <div class="form-group">
            <label class="form-label">密码</label>
            <input type="password" class="form-input" placeholder="请输入密码">
        </div>

        <button type="submit" class="login-btn">立即登录</button>

        <div class="login-extra">
            <label class="remember-me">
                <input type="checkbox"> 记住我
            </label>
            <a href="#" class="forgot-password">忘记密码？</a>
            <a href="register.jsp" class="forgot-password">没有账号？前往注册</a>
        </div>

    </form>
</div>
</body>
</html>
